home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2005 October / PCWOCT05.iso / Software / FromTheMag / XAMPP 1.4.14 / xampp-win32-1.4.14-installer.exe / xampp / phpMyAdmin / libraries / dbg / setup.php < prev   
PHP Script  |  2003-11-26  |  603b  |  21 lines

  1. <?php
  2. /* $Id: setup.php,v 2.3 2003/11/26 22:52:25 rabus Exp $ */
  3. // vim: expandtab sw=4 ts=4 sts=4:
  4.  
  5. if (isset($GLOBALS['cfg']['DBG']['enable']) && $GLOBALS['cfg']['DBG']['enable']) {
  6.     /**
  7.      * Loads the DBG extension if needed
  8.      */
  9.     if (!@extension_loaded('dbg')) {
  10.         PMA_dl('dbg');
  11.     }
  12.     if (!@extension_loaded('dbg')) {
  13.         echo sprintf($strCantLoad, 'DBG') . '<br />' . "\n"
  14.             . '<a href="./Documentation.html#faqdbg" target="documentation">' . $GLOBALS['strDocu'] . '</a>' . "\n";
  15.         require_once('./footer.inc.php');
  16.     }
  17.     $GLOBALS['DBG'] = true;
  18. }
  19.  
  20. ?>
  21.